package com.dao;

import com.pojo.Teacher;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface TeacherMapper {

    @Select("Select * from teacher where id= #{tid}")
    Teacher getTeacher (@Param("tis") int id);

}
